<!--
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 14:41:20
 * @LastEditTime: 2023-05-08 22:09:19
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description:   :gridOps="gridOptions" allocation
-->
<template>
  <el-dialog draggable overflow v-model="visible" :title="'生产明细'" :width="1024" destroy-on-close
    @closed="$emit('closed')">
    <sc-VxeTable ref="xGrid" :tablecode="'pro_processes_pass_order'" :gridOps="gridOptions"
      :url="api.pro.processes.pass_list" :params="getParams">
    </sc-VxeTable>
  </el-dialog>
</template>
<script>
export default {
  name: "market_order_details",
};
</script>
<script setup>
import { ref } from "vue";
import api from "@/api";
const visible = ref(false);
const params = ref(null);
const setData = (data) => {
  params.value = data;
}
const getParams = () => {
  return params.value;
}
const open = () => {
  visible.value = true;
  return this;
}
const gridOptions = {
  height: 500
}
defineExpose({ setData, open });
</script>
